/*
 * @Author: ZhangJJ zhangjinjia666@outlook.com
 * @Date: 2024-05-05 11:12:17
 * @LastEditors: ZhangJJ zhangjinjia666@outlook.com
 * @LastEditTime: 2024-05-05 11:13:30
 * @FilePath: \vue_login_book\nestjs-book-admin\src\modules\book\book.controller.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { Controller, Get, Param } from '@nestjs/common';

@Controller('book')
export class BookController {
  @Get(':id')
  getBook(@Param('id') id: number, ParseIntPipe){
    return 'get book id：' + id
  }
}
